package com.lzx.chat.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("chat")
public class Chat {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;//编号
    private Integer userId;//用户id
    private String username;//用户名
    private String content;//聊天的内容
}
